<?php

namespace Rebecca\RebeccaBundle\Form;

use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilder;

class HorasExtraType extends AbstractType
{
    public function buildForm(FormBuilder $builder, array $options)
    {
        $builder
            ->add('diurnas', null, array('label' => 'Horas Extras Diurnas Ordinarias (HEDO)'))
            ->add('nocturnas', null, array('label' => 'Horas Extras Nocturnas Ordinarias (HENO)'))
            ->add('festivas', null, array('label' => 'Horas Diurnas Festivas (HDF)'))
            ->add('extrasFestivas', null, array('label' => 'Horas Extras Diurnas Festivas (HEDF)'))
            ->add('nocturnasFestivas', null, array('label' => 'Horas Extras Nocturnas Festivas (HENF)'))
            ->add('fecha', null, array('widget' => 'single_text', 'format' => 'd/M/yyyy'))
            ->add('jutificacion')
        ;
    }

    public function getName()
    {
        return 'rebecca_rebeccabundle_horasextratype';
    }
}
